<!doctype html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous">
	<title>Hello, world!</title>
	<style type="text/css">

	</style>
</head>
<body>
<h1>Hello, world!</h1>

<div id="root"></div>


<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.bundle.min.js" integrity="sha384-gtEjrD/SeCtmISkJkNUaaKMoLD0//ElJ19smozuHV6z3Iehds+3Ulb9Bn9Plx0x4" crossorigin="anonymous"></script>
<script src="https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.6.0.js"></script>
<script src="client.js"></script>

<button id="btn" type="button" class="btn btn-primary" onclick="showDlg(this);">Dialog</button>
<script type="application/javascript">
	function showDlg(btn) {
		console.info(btn.type);
		client.test(btn);
		// client.bsAlert("hello");
		// client.bsConfirm('操作成功0-- -wwwwww','提示', function(){
		// 	console.info("hello OK")
		// });
	}
</script>
</body>
</html>